﻿/**********************************************************************
 * @file   GUISpectraEditNotesDialog.h
 * @brief  频谱笔记编辑对话框
 * @author BaGuijun (baguijun@163.com)
 * @date   2024-12-13
 *********************************************************************/
#ifndef _GUISpectraEditNotesDialog_H
#define _GUISpectraEditNotesDialog_H

#include "GUIPhyscisDialogAPI.h"
#include "GUIWidget/GUIDialogBase.h"

namespace Ui {
    class GUISpectraEditNotesDialog;
}

namespace GUI
{
    /**
     * @brief  频谱笔记编辑对话框
     * @author BaGuijun (baguijun@163.com)
     * @date   2024-12-13
     */
    class GUIPhyscisDialogAPI GUISpectraEditNotesDialog :public GUIDialogBase
    {
        Q_OBJECT;
    public:
        /**
         * @brief    构造函数
         * @param[i] spectraID          频谱ID
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-12-13
         */
        GUISpectraEditNotesDialog(int spectraID);
        /**
         * @brief    析构函数
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-12-13
         */
        ~GUISpectraEditNotesDialog();
    private slots:
        ;
        /**
         * @brief    OK按钮点击事件
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-12-13
         */
        void on_pushButton_OK_clicked();
        /**
         * @brief    取消按钮点击事件
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-12-13
         */
        void on_pushButton_Cancel_clicked();
    private:
        /**
         * @brief  ui对象
         * @author BaGuijun (baguijun@163.com)
         * @date   2024-12-13
         */
        Ui::GUISpectraEditNotesDialog* _ui = nullptr;
        /**
         * @brief  频谱ID
         * @author BaGuijun (baguijun@163.com)
         * @date   2024-12-13
         */
        int _spectraID = -1;
    };
}
#endif
